package com.graduationdesign.zengyan.graduationdesignapp.ui.base.errorhandle;

/**
 * Created by ZengYan on 2018/4/19.
 *
 * @desc :
 */
public class ServerException extends RuntimeException{

    public int code;
    public String message;

    public ServerException(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    @Override
    public String getMessage() {
        return message;
    }
}
